﻿@model GameSchool.Models.StudentLectureViewModel

@{
    ViewBag.Title = "Edit Level | GameSchool";
    Layout = "~/Views/Shared/_LayoutStudent.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div class="mainSectionStuff">
    <h2>View lectures in @Model.courseName</h2>    
    <ul>        
        @foreach (var item in Model.itemList)
        {
            <li class="levelsTitle">@item.levelTitle @item.levelNumber | @item.levelXP XP 
                <ul class="levelsTasks">
                    <li>@Html.ActionLink("View Lecture", "ViewLectureStudent", "Lecture", new { CID = Model.courseID, LID = item.lectureID }, null)
                </ul>
             </li>
        }
    </ul>
</div>


<ul>
    @section menu{
        <li>@Html.ActionLink("Courses Overview", "StudentHome", "Student")</li> 
        <li>@Html.ActionLink("Assignment", "ViewAssignmentsInCourse", "Assignment", new { CID = Model.courseID }, null)</li>    
        <li>@Html.ActionLink("Online Exam", "ViewExam", "Exam", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Lecture", "ViewLecturesInCourse", "Lecture", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Description", "CourseDescription", "Course", new { CID = Model.courseID }, null)</li>
    }
</ul>